xen.git
20 years agoRemove unused import, and unused class TwistedAdapter. Mark one variable as
emellor@ewan [Sat, 17 Sep 2005 09:29:33 +0000 (10:29 +0100)]
Remove unused import, and unused class TwistedAdapter.  Mark one variable as
unused.

Signed-off-by: Ewan Mellor<ewan@xensource.com>
20 years agoAdded _1,.._5 to dummy-variables, so that we can specify multiple unused
emellor@ewan [Sat, 17 Sep 2005 09:22:42 +0000 (10:22 +0100)]
Added _1,.._5 to dummy-variables, so that we can specify multiple unused
parameters in our code.  Removed map and filter from bad-functions - I don't
think that we have any problem with functional programming styles!

Signed-off-by: Ewan Mellor<ewan@xensource.com>
20 years agoSmall cleanup to tpm split driver.
kaf24@firebug.cl.cam.ac.uk [Sat, 17 Sep 2005 08:26:11 +0000 (08:26 +0000)]
Small cleanup to tpm split driver.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
20 years agoRemove native tpm drivers from the linux sparse tree and replace
kaf24@firebug.cl.cam.ac.uk [Sat, 17 Sep 2005 08:25:30 +0000 (08:25 +0000)]
Remove native tpm drivers from the linux sparse tree and replace
with minimal patch in the automatically-applied patches/ directory.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
20 years agoCleanup domain listing on xend start. Fix reaper some more.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 23:55:50 +0000 (23:55 +0000)]
Cleanup domain listing on xend start.  Fix reaper some more.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd bindings for xs_get_domain_path().
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 22:27:04 +0000 (22:27 +0000)]
Add bindings for xs_get_domain_path().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't run reap() or domain_restarts() as side-effects of refresh.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 20:12:42 +0000 (20:12 +0000)]
Don't run reap() or domain_restarts() as side-effects of refresh.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove dom0 setup code out of initial_refresh.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 20:03:57 +0000 (20:03 +0000)]
Move dom0 setup code out of initial_refresh.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove pretty random cleanup code in _add_domain.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 20:02:18 +0000 (20:02 +0000)]
Remove pretty random cleanup code in _add_domain.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoUse "vcpu" when referring to vcpus.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 19:11:39 +0000 (19:11 +0000)]
Use "vcpu" when referring to vcpus.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMake dom0_enforce_cpus() use vcpu_hotplug rather than directly modifying the sysfs...
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 19:08:36 +0000 (19:08 +0000)]
Make dom0_enforce_cpus() use vcpu_hotplug rather than directly modifying the sysfs entries.
Directly modifying the sysfs entries causes the xenstore state of
a cpu's availability to be incorrect.  Also slightly modify the
dom0-cpus description in the xend-config.  Rather than specifying which
dom0 vcpus are to be used, it is now a target of how many vcpus to use
as pinvcpu ops are the preferred method for setting which physical cpu a
vcpu uses.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 18:59:59 +0000 (18:59 +0000)]
merge?

20 years agoFix the control panel problem.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 18:50:50 +0000 (18:50 +0000)]
Fix the control panel problem.
The new image handling structure broke the vmx guest loading.
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 18:07:50 +0000 (18:07 +0000)]
merge?

20 years agoCleanup domain reaper and domain destruction functions.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 18:06:42 +0000 (18:06 +0000)]
Cleanup domain reaper and domain destruction functions.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix setStoreChannel(None) - fixes cleanup on destroy.
cl349@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 18:05:03 +0000 (18:05 +0000)]
Fix setStoreChannel(None) - fixes cleanup on destroy.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoClean up and re-indent netback driver.
kaf24@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 13:27:01 +0000 (13:27 +0000)]
Clean up and re-indent netback driver.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoClean up and re-indent netfront.c
kaf24@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 13:06:49 +0000 (13:06 +0000)]
Clean up and re-indent netfront.c

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoGrant-refrence allocation pools and tracking tables should be
kaf24@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 12:47:40 +0000 (12:47 +0000)]
Grant-refrence allocation pools and tracking tables should be
per interface in netfront, not global. This fixes various
bug reports including Bugzilla #183.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
20 years agodirect_remap_pfn_range() takes a vm_area_struct rather than
kaf24@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 10:57:31 +0000 (10:57 +0000)]
direct_remap_pfn_range() takes a vm_area_struct rather than
an mm_struct. Also it sets VM_RESERVED and VM_IO, just like
generic remap_pfn_range() in mm/memory.c.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agodistclean target added to root makefile. From rusty.
kaf24@firebug.cl.cam.ac.uk [Fri, 16 Sep 2005 09:16:24 +0000 (09:16 +0000)]
distclean target added to root makefile. From rusty.

20 years agoSimplify backend flag parsing.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 19:46:14 +0000 (19:46 +0000)]
Simplify backend flag parsing.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoExport block device read-only state into store.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 18:39:17 +0000 (18:39 +0000)]
Export block device read-only state into store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix bootloader support some more.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 18:38:44 +0000 (18:38 +0000)]
Fix bootloader support some more.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 17:40:16 +0000 (17:40 +0000)]
merge?

20 years agoMaybe fix running bootloader after reboot.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 17:19:08 +0000 (17:19 +0000)]
Maybe fix running bootloader after reboot.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoStart cleaning up grant tables. gnttab_donate now called
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 17:09:50 +0000 (17:09 +0000)]
Start cleaning up grant tables. gnttab_donate now called
gnttab_transfer, with slightly rationalised interface and
simpler implementation inside Xen. This is a tiny chip off
the tip of a very big iceberg. :-)

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 16:55:32 +0000 (16:55 +0000)]
merge?

20 years agoUpdate image handling code for xstransact.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 16:55:05 +0000 (16:55 +0000)]
Update image handling code for xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoActually update domain info when dom_get() succeeds.
shand@ubuntu.eng.hq.xensource.com [Thu, 15 Sep 2005 16:15:48 +0000 (08:15 -0800)]
Actually update domain info when dom_get() succeeds.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoFix the libxc Makefile.
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 13:17:24 +0000 (13:17 +0000)]
Fix the libxc Makefile.

20 years agoadd support for ipv6 address in choose_vnc_display function
vh249@arcadians.cl.cam.ac.uk [Thu, 15 Sep 2005 12:21:23 +0000 (12:21 +0000)]
add support for ipv6 address in choose_vnc_display function
getting the port from the latest field, not the first one.
fix suggested by Nickolai Zeldovich. close bug #231

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agofix build, strings spanning multiple lines are no longer supported
vh249@arcadians.cl.cam.ac.uk [Thu, 15 Sep 2005 12:19:00 +0000 (12:19 +0000)]
fix build, strings spanning multiple lines are no longer supported

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 09:21:22 +0000 (09:21 +0000)]
merge?

20 years agoDon't special case getDomainMemory for ia64.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 09:21:10 +0000 (09:21 +0000)]
Don't special case getDomainMemory for ia64.
This makes how we account the "system pages" consistent.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoBetter build fix.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 09:13:21 +0000 (09:13 +0000)]
Better build fix.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoLike IA32 PAE xenlinux, we also need make VMX guest 1:1 page table PGD
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 09:12:03 +0000 (09:12 +0000)]
Like IA32 PAE xenlinux, we also need make VMX guest 1:1 page table PGD
page below 4G.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
20 years agoCleanup timeout code for when socket is already in use.
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 08:59:35 +0000 (08:59 +0000)]
Cleanup timeout code for when socket is already in use.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix build!
cl349@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 08:56:13 +0000 (08:56 +0000)]
Fix build!
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove bad lines from start od script.
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 07:45:06 +0000 (07:45 +0000)]
Remove bad lines from start od script.

20 years agomerge?
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 07:38:53 +0000 (07:38 +0000)]
merge?

20 years agoMore build fixes for latest binutils. No 'movl' between
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Sep 2005 07:21:31 +0000 (07:21 +0000)]
More build fixes for latest binutils. No 'movl' between
a segment register and memory location.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoDeal with domain info going away (handle new error path introduced by
shand@ubuntu.eng.hq.xensource.com [Thu, 15 Sep 2005 04:12:54 +0000 (20:12 -0800)]
Deal with domain info going away (handle new error path introduced by
cset 6828). Believe Dan Smith is working up a more comprehensive patch.

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoO_REUSEADDR is not enough to ensure we don't get address in use errors when
shand@ubuntu.eng.hq.xensource.com [Thu, 15 Sep 2005 01:46:40 +0000 (17:46 -0800)]
O_REUSEADDR is not enough to ensure we don't get address in use errors when
xend dies from a signal.

We implement a 30 second time to ensure we don't fail if we don't have to.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
20 years agoMake sure xend start doesn't return until xend is ready to accept connections.
shand@ubuntu.eng.hq.xensource.com [Thu, 15 Sep 2005 01:45:51 +0000 (17:45 -0800)]
Make sure xend start doesn't return until xend is ready to accept connections.

This means xend start && xm list actually works now (instead of throwing an
exception).

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
20 years agoDisable CONFIG_PNPACPI temporarily in the -xen defconfig (it's known not to
shand@ubuntu.eng.hq.xensource.com [Thu, 15 Sep 2005 01:07:33 +0000 (17:07 -0800)]
Disable CONFIG_PNPACPI temporarily in the -xen defconfig (it's known not to
work, causing dom0 to fail to boot - see bugzilla for more details).

Signed-off-by: Robert Read <robert@xensource.com>
Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoOops, one hypervisor.h change seems to have unfixed in the merge
djm@kirby.fc.hp.com [Thu, 15 Sep 2005 00:00:23 +0000 (18:00 -0600)]
Oops, one hypervisor.h change seems to have unfixed in the merge

20 years agoAdd missing include/decl to ia64-specific hypervisor.h
djm@kirby.fc.hp.com [Wed, 14 Sep 2005 23:01:42 +0000 (17:01 -0600)]
Add missing include/decl to ia64-specific hypervisor.h

20 years agoThe dom destroy path is doing a dom_get on a non-existent domain to
shand@ubuntu.eng.hq.xensource.com [Wed, 14 Sep 2005 22:36:29 +0000 (14:36 -0800)]
The dom destroy path is doing a dom_get on a non-existent domain to
ensure it is non-existent.  This changes throws an explicit exception
when xc_domain_getinfo returns an error, instead of triggering an
internal python error.  It then handles the exception in dom_get by
returning None, which callers already expect to mean failure.

Signed-off-by: Robert Read <robert@xensource.com>
20 years agoAdd ia64-specific hypervisor.h
djm@kirby.fc.hp.com [Wed, 14 Sep 2005 21:45:30 +0000 (15:45 -0600)]
Add ia64-specific hypervisor.h

20 years agoMerge latest xen-unstable into xen-ia64-unstable to prep
djm@kirby.fc.hp.com [Wed, 14 Sep 2005 21:36:10 +0000 (15:36 -0600)]
Merge latest xen-unstable into xen-ia64-unstable to prep
for push back to xen-unstable

20 years agoAdd needed header files that are buried/nested in x86
djm@kirby.fc.hp.com [Wed, 14 Sep 2005 21:33:52 +0000 (15:33 -0600)]
Add needed header files that are buried/nested in x86

20 years agoMerge latest xen-unstable into xen-ia64-unstable
djm@kirby.fc.hp.com [Wed, 14 Sep 2005 21:26:35 +0000 (15:26 -0600)]
Merge latest xen-unstable into xen-ia64-unstable

20 years agoRemove redundant semi-colon from end of DEFINE_RING_TYPES
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 20:45:40 +0000 (20:45 +0000)]
Remove redundant semi-colon from end of DEFINE_RING_TYPES
macro.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:59:15 +0000 (19:59 +0000)]
merge?

20 years agoSwitch most uses of write over to store.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:53:29 +0000 (19:53 +0000)]
Switch most uses of write over to store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoExplicit test for None.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:52:04 +0000 (19:52 +0000)]
Explicit test for None.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMore syntactic sugar.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:34:13 +0000 (19:34 +0000)]
More syntactic sugar.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove start_time out of xend dir and use gather/store.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:30:08 +0000 (19:30 +0000)]
Move start_time out of xend dir and use gather/store.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSupport removing nodes from store if value to store is None.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:29:25 +0000 (19:29 +0000)]
Support removing nodes from store if value to store is None.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd store function.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:22:31 +0000 (19:22 +0000)]
Add store function.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAlways allow transaction abort.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 19:17:22 +0000 (19:17 +0000)]
Always allow transaction abort.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd gather function and robustify class methods' failure handling.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 18:24:25 +0000 (18:24 +0000)]
Add gather function and robustify class methods' failure handling.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix mmapping of PCI resources from userspace.
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 17:54:43 +0000 (17:54 +0000)]
Fix mmapping of PCI resources from userspace.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 17:06:37 +0000 (17:06 +0000)]
merge?

20 years agoRename xm commands and cleanup of the "bogus" argument code.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 17:06:25 +0000 (17:06 +0000)]
Rename xm commands and cleanup of the "bogus" argument code.
For the "bogus" argument code, avoid changing the argument list so
that errors can be reported consistently.
Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix xc_make_page_below_4G(). Should fix PAE domain
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 16:56:05 +0000 (16:56 +0000)]
Fix xc_make_page_below_4G(). Should fix PAE domain
building on >= 4GB systems.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoDuring my attempts to get the latest bridge networking model working on my
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 16:49:23 +0000 (16:49 +0000)]
During my attempts to get the latest bridge networking model working on my
system, I often invoked 'network-bridge stop' with total failure.  Attached
is an updated version that works.

Signed-off-by: Andrew Theurer <habanero@us.ibm.com>
20 years agoFix xc_domain_memory_decrease_reservation().
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 15:56:06 +0000 (15:56 +0000)]
Fix xc_domain_memory_decrease_reservation().

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoAdd methods to read/write Vm/Domain store entries.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 15:47:48 +0000 (15:47 +0000)]
Add methods to read/write Vm/Domain store entries.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove name back into main domain dir.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 15:25:28 +0000 (15:25 +0000)]
Move name back into main domain dir.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoMove id back into main domain dir and rename to domid.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 15:10:22 +0000 (15:10 +0000)]
Move id back into main domain dir and rename to domid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agomerge?
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 14:43:34 +0000 (14:43 +0000)]
merge?

20 years agoSet NE bit for VMX guest CR0. VMCS guest CR0.NE bit must
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 13:37:50 +0000 (13:37 +0000)]
Set NE bit for VMX guest CR0. VMCS guest CR0.NE bit must
be set, else it will cause "vm-entry failed".

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
20 years agoMove uuid back into main domain dir.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 13:37:03 +0000 (13:37 +0000)]
Move uuid back into main domain dir.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoAdd some sanity check when creating 3-level 1:1 page table
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 13:34:14 +0000 (13:34 +0000)]
Add some sanity check when creating 3-level 1:1 page table
in VMX domain builder.
 - Add check for empty l2e page entry.
 - Add check for failed vl1tab map.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
20 years agoClear pending interrupt on shared page when pic initialized
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 13:28:45 +0000 (13:28 +0000)]
Clear pending interrupt on shared page when pic initialized
and irq base changed.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
20 years agoGet rid of anonymous unions in public header files.
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 13:13:10 +0000 (13:13 +0000)]
Get rid of anonymous unions in public header files.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoCall dominfo.device_delete instead of non-existant dominfo.device_destroy.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 12:49:13 +0000 (12:49 +0000)]
Call dominfo.device_delete instead of non-existant dominfo.device_destroy.
Signed-off-by: Sean Dague <sean@dague.net>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoRemove unsued domain_controller.h file.
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 10:58:00 +0000 (10:58 +0000)]
Remove unsued domain_controller.h file.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix 64-bit build problem. Not allowed to movl between a
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 09:20:21 +0000 (09:20 +0000)]
Fix 64-bit build problem. Not allowed to movl between a
segment register and a memory location.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoMove hypervisor.h to asm-i386/asm-x86_64.
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 09:17:44 +0000 (09:17 +0000)]
Move hypervisor.h to asm-i386/asm-x86_64.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agomem-map.sxp and vmxloader are unaffected by a 64-bit build,
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 09:14:32 +0000 (09:14 +0000)]
mem-map.sxp and vmxloader are unaffected by a 64-bit build,
and belong in /usr/lib always (never /usr/lib64). qemu-dm
continues to live under /usr/lib64 on 64-bit systems.
Modify the vmx config script to auto-detect correct path
to qemu-dm, rather than staically configuring at compile
time.

Signed-off-by: Keir Fraser <keir@xensource.com>
20 years agoFix xenstored watch crash.
cl349@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 08:41:49 +0000 (08:41 +0000)]
Fix xenstored watch crash.
When a connection blocked waiting on a transaction, don't queue watch events.
Sure, they'd be ignored and re-transmitted, but it hits an assert that we don't
send data out blocked connections, and it's wasteful.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't return failure when trying to delete a non-existent node.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 21:52:24 +0000 (21:52 +0000)]
Don't return failure when trying to delete a non-existent node.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoPerform xenbus operations in shutdown_handler in a transaction.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 21:29:28 +0000 (21:29 +0000)]
Perform xenbus operations in shutdown_handler in a transaction.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't cause watch fire deadlock by unconditionally rewriting the sysrq node.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 21:24:03 +0000 (21:24 +0000)]
Don't cause watch fire deadlock by unconditionally rewriting the sysrq node.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoDon't fail readDB on empty dirs.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 21:00:13 +0000 (21:00 +0000)]
Don't fail readDB on empty dirs.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSwitch shutdown and sysrq to xstransact.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 20:54:41 +0000 (20:54 +0000)]
Switch shutdown and sysrq to xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoConverge ia64 grant_table API
djm@kirby.fc.hp.com [Tue, 13 Sep 2005 20:20:02 +0000 (14:20 -0600)]
Converge ia64 grant_table API

20 years agoFree blkif if vbd_create fails.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 19:43:58 +0000 (19:43 +0000)]
Free blkif if vbd_create fails.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoCatchup with xen-unstable, add ia64 specifics to tools, and some VTI merge
djm@kirby.fc.hp.com [Tue, 13 Sep 2005 19:42:33 +0000 (13:42 -0600)]
Catchup with xen-unstable, add ia64 specifics to tools, and some VTI merge
Signed-off-by Kevin Tian <Kevin.tian@intel.com>

20 years agoFix the logic in vcpu_sleep_sync(): we must wait until
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 19:09:44 +0000 (19:09 +0000)]
Fix the logic in vcpu_sleep_sync(): we must wait until
the running flag is cleared *and* the scheduler lock is
released. Not just one or the other.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
20 years agoAdd ia64 header for synch_bitops.h
djm@kirby.fc.hp.com [Tue, 13 Sep 2005 19:08:00 +0000 (13:08 -0600)]
Add ia64 header for synch_bitops.h

20 years agoSome more resilience to errors in creating vbds etc; still needs more work
shand@ubuntu.eng.hq.xensource.com [Tue, 13 Sep 2005 18:03:04 +0000 (10:03 -0800)]
Some more resilience to errors in creating vbds etc; still needs more work
to tidy up things properly (e.g. the store state).

Signed-off-by: Steven Hand <steven@xensource.com>
20 years agoSwitch memory target handling to use xstransact.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 17:49:38 +0000 (17:49 +0000)]
Switch memory target handling to use xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agog/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 17:32:59 +0000 (17:32 +0000)]
g/c introduceDomain and releaseDomain bindings in xsnode and xsobj.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoSwitch vcpu hotplugging to use xstransact.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 17:31:13 +0000 (17:31 +0000)]
Switch vcpu hotplugging to use xstransact.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoFix domain list build/cleanup code with xend subdirectory.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 16:57:45 +0000 (16:57 +0000)]
Fix domain list build/cleanup code with xend subdirectory.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
20 years agoIntroduceDomain of dom0 can fail when it's already connected.
cl349@firebug.cl.cam.ac.uk [Tue, 13 Sep 2005 16:56:02 +0000 (16:56 +0000)]
IntroduceDomain of dom0 can fail when it's already connected.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>